<?php
/**
 * Created by PhpStorm.
 * User: xi
 * Date: 16/1/12
 * Time: PM3:08
 */
namespace Admin\Model;
use Think\Model;
class AdminModel extends Model{


    public function getUser($condition = array())
    {
        $data = $this->where($condition);

        $data = $data->field('pwd', true)->find();

        return $data;
    }
} 